@echo off

  SET uiName=cetc54.ui.all.css
  SET uiMinName=cetc54.ui.all.min.css
  CD /d %~dp0
  CD ..
  SET CSSFOLDER=%CD%\themes\bootstrap\
  SET YUIFOLDER=%CD%\tools\
  SET ReleaseDER=%CD%\themes\bootstrap\

  echo delete %uiName%...
  IF EXIST %YUIFOLDER%%uiName% del /F %YUIFOLDER%%uiName%
  echo search CSS...
  for /f %%a in (%YUIFOLDER%css_list.txt) do (
	  echo unite %%a ...
	  type %CSSFOLDER%%%a >> %YUIFOLDER%%uiName%
	  )
  echo publish to %ReleaseDER%
  move /y %YUIFOLDER%%uiName% %ReleaseDER%%uiName%

    CD /d %~dp0
    CD ..
    SET CSSFOLDER=%CD%\themes\smart\
    SET YUIFOLDER=%CD%\tools\
    SET ReleaseDER=%CD%\themes\smart\

    echo delete %uiName%...
    IF EXIST %YUIFOLDER%%uiName% del /F %YUIFOLDER%%uiName%
    echo search CSS...
    for /f %%a in (%YUIFOLDER%css_list.txt) do (
  	  echo unite %%a ...
  	  type %CSSFOLDER%%%a >> %YUIFOLDER%%uiName%
  	  )
    echo publish to %ReleaseDER%
    move /y %YUIFOLDER%%uiName% %ReleaseDER%%uiName%
    echo finish!
 